package com.xc.content.convert;

import com.xc.content.bo.CourseBaseBO;
import com.xc.content.bo.CourseTeacherBO;
import com.xc.content.entity.CourseBase;
import com.xc.content.entity.CourseTeacher;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: MangoPie
 * @CreateTime: 2024-12-31
 * @Version: 1.0
 */
@Mapper
public interface CourseTeacherServiceConverter {
    CourseTeacherServiceConverter INSTANCE = Mappers.getMapper(CourseTeacherServiceConverter.class);

    CourseTeacher courseTeacherBoToEntity(CourseTeacherBO courseTeacherBO);
    List<CourseTeacherBO> courseTeacherListToBOList(List<CourseTeacher> courseTeacherList);
}
